home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / HAMRADIO / HAMCOM22.ZIP / HC.CFG < prev    next >
Text File  |  1993-06-16  |  13KB  |  463 lines

  1. #
  2. # HC.CFG 930616
  3. #
  4. # HamComm 2.2 sample configuration file
  5. #
  6.  
  7.  
  8. #
  9. # HamComm will automatically search for this file on program startup.
  10. # The current directory is searched first, then all directories along
  11. # the current "PATH" environment variable.
  12. #
  13. # The character '#' starts a comment.  All characters up to the end of
  14. # the line are ignored, including the '#' character itself.
  15. #
  16. # Numbers are normally entered in decimal notation, but you can also
  17. # use hexadecimal values starting in '0x'.
  18. #
  19.  
  20.  
  21. #
  22. # Setup serial ports
  23. #
  24. # HamComm maintains an internal table of available serial ports.
  25. # Every port has a unique base port address and interrupt request line.
  26. # Up to four ports can be defined.  On startup the table looks like this:
  27. #
  28. #       iobase  irq
  29. #  COM1  0x3f8   4
  30. #  COM2  0x2f8   3
  31. #  COM3      0   0
  32. #  COM4      0   0
  33. #
  34. # COM1 and COM2 are predefined to their standard values.
  35. # COM3 and COM4 are undefined.
  36. #
  37. # Undefined ports can not be selected from the 'Port' menue.
  38. #
  39. # Let's assume we have a non-standard serial port at address 0x2E8 (hex)
  40. # using interrupt request 5.  The following 'define port' statement will
  41. # make this port available as COM4.
  42. #
  43.  
  44. # Example: define port com4  iobase 0x2e8  irq 5
  45.  
  46.  
  47. #
  48. # We can also redefine any port using the 'define port' statement.
  49. #
  50. # For the following example let's assume we have a mouse connected to
  51. # COM1, so we don't want HamComm to fool around with that port.
  52. # If you remove the comment character from the following statement
  53. # the base address and irq for COM1 will be set to 0 and HamComm
  54. # will ignore it.  Consequently COM1 is now no longer available from
  55. # the 'Port' menue.
  56. #
  57.  
  58. # Example: define port com1  iobase 0  irq 0
  59.  
  60.  
  61. #
  62. # At startup HamComm normally uses COM2.  This can be changed with
  63. # the 'select port' statement.  Undefined ports can not be selected.  
  64. # (see also: 'define port com...' above). 
  65.  
  66. select port com2
  67.  
  68.  
  69. #
  70. # HamComm needs the current date/time in several places.  It is displayed
  71. # on the screen, written to logfiles and can easily be included in the TX
  72. # window.  If you don't want to use the PCs local time the following
  73. # command sets the name (3 characters) of the desired timezone.
  74. #
  75. # Example: it is often convenient to keep time in UTC, so ...
  76. #
  77.  
  78. set timezone UTC
  79.  
  80.  
  81. #
  82. # The "set timezone ..." command above sets just the name of the
  83. # timezone to be used.  In order to display the correct time for that zone
  84. # HamComm needs to know the difference in seconds between the PCs clock
  85. # and the desired timezone. 
  86. #
  87. # Example: 
  88. #
  89. # i live in Germany.  The local timezone is "Central European Time"
  90. # which is one hour ahead of UTC, so i have to subtract one hour from
  91. # the PCs current time.  One hour is about 3600 seconds. 
  92. #
  93.  
  94. set timediff -3600
  95.  
  96.  
  97. #
  98. # The operating mode can be changed from a .CFG file using the "set mode .."
  99. # command.  Available modes are: CW, BAUDOT, ASCII7, ASCII8, TUNE, BITLEN,
  100. # SCOPE and SPECTRUM.
  101. #
  102.  
  103. # Example: set mode baudot
  104.  
  105.  
  106. #
  107. # Set the baud value for RTTY send and receive mode.
  108. # The default value is 45 baud.
  109. #
  110.  
  111. set baud 45
  112.  
  113.  
  114. #
  115. # Set the WPM value for morse code transmission.
  116. # The default value is 15 WPM.  
  117. #
  118.  
  119. set wpm 15
  120.  
  121.  
  122. #
  123. # Set the startup audio center frequency for receive and transmit tones.
  124. # You may select any value between 500Hz and 2400Hz (default is 700Hz).
  125. #
  126.  
  127. set afcenter 750
  128.  
  129.  
  130. #
  131. # Set startup audio frequency shift between mark and space tones.
  132. # You may select any value between 25Hz and 999Hz (default is 170Hz).
  133. #
  134.  
  135. set afshift 170
  136.  
  137.  
  138. #
  139. # While AFC (Automatic Frequency Control) is turned on, the audio center
  140. # frequency will automatically follow the input signal during RTTY reception.
  141. #
  142. # Disable AFC for now.
  143. #
  144.  
  145. set afc off
  146.  
  147.  
  148. #
  149. # Control automatic drop-back to LETTER mode for Baudot reception.
  150. #
  151.  
  152. set autounshift on
  153.  
  154.  
  155. #
  156. # Control blank line suppression for the RX window.
  157. # To save screen space we normally don't want blank lines.
  158. #
  159.  
  160. set rxblanklines off
  161.  
  162.  
  163. #
  164. # Set keying direction:  normal = 'mark' is high tone
  165. #                       reverse = 'mark' is low tone
  166.  
  167. set keying normal
  168.  
  169.  
  170. #
  171. # (De)activate the decoder for weather reports in SHIP or SYNOP format.
  172. #
  173.  
  174. set wxdecode off
  175.  
  176.  
  177. #
  178. # Set the default on/off state of the grid for the SCOPE function.
  179. #
  180. # On monochrome monitors and some LCD screens the display looks
  181. # better with the grid turned off.
  182. #
  183.  
  184. set scopegrid on
  185.  
  186.  
  187. #
  188. # A conventional RTTY decoder can be used in parallel to the standard
  189. # HamComm interface.  If the following option is set to 'on' the signal
  190. # from the external converter will be used for character decoding.
  191. #
  192.  
  193. set extconv off
  194.  
  195.  
  196. #
  197. # When the TX data buffer runs empty during transmit mode, HamComm will
  198. # automatically start sending idle characters.  This feature is normally
  199. # disabled but can be activated using the following command:
  200. #
  201.  
  202. set diddle on
  203.  
  204.  
  205. #
  206. # The TX audio signal is normally generated with the PC's speaker.
  207. # If we use the AFSK signal from the COM port or an external AFSK
  208. # we probably want to disable it.
  209. # The speaker can be controlled using the following command.
  210. #
  211.  
  212. set speaker on
  213.  
  214.  
  215. #
  216. # For some PAs (power amplifier) there should be a delay time between
  217. # activation of the PTT line and the RF signal from the transmitter.
  218. # This delay time is controlled by the PADELAY parameter.  When switching
  219. # to TX mode HamComm activates the PTT line immediately, but the speaker
  220. # output will not be enabled before the specified number of milliseconds
  221. # have elapsed.  Since most HamComm users probably don't have a PA or have
  222. # a PA that doesn't require the delay, PADELAY is set to 0.
  223. #
  224.  
  225. set padelay 0
  226.  
  227.  
  228. #
  229. # The transmitter needs a little time to start after we pull the ptt line.
  230. # Set the TXDELAY to the number of milliseconds required.
  231. # 30ms should be enough for almost any modern transceiver.
  232. #
  233.  
  234. set txdelay 50
  235.  
  236.  
  237. #
  238. # Now specify the time to wait after TXDELAY until we send out
  239. # the first character. Time for your qso partner to tune in.
  240. #
  241.  
  242. set txwait 2000
  243.  
  244.  
  245. #
  246. # Set the number of bytes for the receive buffer.
  247. #
  248. # All characters received are first put into this buffer by the 
  249. # interrupt routines.  When the TTY functions are active they
  250. # are removed from the buffer and displayed in the RX window.
  251. #
  252. # The size of the receive buffer should not exceed 65000 bytes.
  253. #
  254.  
  255. set rxbuffersize 512
  256.  
  257.  
  258. #
  259. # Set the size of the transmit buffer.
  260. #
  261. # All characters to be transmitted are first copied from the TX window
  262. # into the transmit buffer.  The transmit routine will remove them
  263. # from the buffer one at a time and send them to the speaker output.
  264. #
  265. # The size of the transmit buffer should not exceed 65000 bytes.
  266. #
  267.  
  268. set txbuffersize 10000
  269.  
  270.  
  271. #
  272. # Set the number of lines for the receive window buffer.
  273. #
  274. # This is not the window size on the screen, but the number of received
  275. # lines that can be rolled back.  For each line about 160 bytes of
  276. # memory are required.  Use the SYSTEM entry from the INFO menue to
  277. # display the size of free memory.
  278. #
  279.  
  280. set rxwindowlines 75
  281.  
  282.  
  283. #
  284. # Set the number of lines for the transmit window buffer.
  285. #
  286.  
  287. set txwindowlines 50
  288.  
  289.  
  290. #
  291. # Set the maximum transmit line length.  Lines on old mechanical TTY 
  292. # maschines are somewhat less than 80 characters long.
  293. #
  294.  
  295. set txlinelength 66
  296.  
  297.  
  298. #
  299. # Set the entry mode for the TX window to 'line' or 'word'.
  300. # This can also be changed any time during program execution
  301. # using the Control-W key.
  302. #
  303.  
  304. set entrymode line
  305.  
  306.  
  307. #
  308. # Set the insert mode for the TX window to 'on' or 'off'.
  309. # This can also be changed any time during program execution
  310. # using the INS key.
  311. #
  312.  
  313. set insertmode off
  314.  
  315.  
  316. #
  317. # Define the end-of-text character.  HamComm will automatically return to
  318. # receive mode when the transmit routine reads this character from the
  319. # tx buffer.  The character can be specified as decimal number, hex number
  320. # or as the character itself.
  321. #
  322. # Examples: set endoftext 230    # use the greek letter for 'micro'
  323. #           set endoftext 0x7F   # use the DEL character (control-backspace)
  324. #           set endoftext "ß"    # this is handy for german keyboards
  325. #
  326. # The end-of-text feature can be disabled by using the value 0.
  327. #
  328.  
  329. set endoftext 0x7f      # control-backspace
  330.  
  331.  
  332. #
  333. # The callsign decoder normally uses the file HC.PRE for information
  334. # about prefixes.  If you already have a file with the same format
  335. # on your disk you can tell HamComm about it with the "set prefixfile"
  336. # command.  Here is an example:
  337. #
  338.  
  339. # Example: set prefixfile c:\ham\cqww.cty
  340.  
  341.  
  342. #
  343. # A logfile for the RX window can be opened using the "set rxlogfile ..."
  344. # command.
  345.  
  346. # Examples: set rxlogfile "startup.log" # open logfile startup.log
  347. #
  348. #           set rxlogfile ""            # close current logfile
  349.  
  350.  
  351. #
  352. # Define some standard texts.  They can be selected for transmission
  353. # from the 'Text' menue.  The texts labelled SHIFT_Fxx can also be send
  354. # by pressing the corresponding function key.
  355. #
  356. # Double quotes (") are only required if the string contains spaces
  357. # or the comment character (#).
  358. #
  359. # \#  will be replaced with the current QSO count.
  360. # \+  increments QSO count, then just like \#.
  361. # \d  will be replaced with the current date and time.
  362. # \e  will be replaced with the currently selected end-of-text character.
  363. # \n  starts a new line.
  364. # \z  will be replaced with the current time.
  365. #
  366. # A text can be included in another text by surrounding its name
  367. # with '~' (tilde) characters.  If the name starts with an AT sign (@)
  368. # HamComm will look for a file with that name.  See 'station.txt' for an
  369. # example.  Note that the text in the included file can itself include
  370. # other texts or files.  Make sure that there are no circular references!
  371. #
  372.  
  373. #
  374. # Define text elements for function keys SHIFT_F01 - SHIFT_F10.
  375. #
  376.  
  377. define text SHIFT_F01  " ryryryry cq cq cq de ~mycall~ ~mycall~ ~mycall~"
  378.                        " ~mycall~ ~mycall~\n"
  379.  
  380. define text SHIFT_F02  " ryryryry ~call~ ~call~ ~call~"
  381.                        " de ~mycall~ ~mycall~ pse k k k\n\e\n"
  382.  
  383. define text SHIFT_F03  " ryryryry ~call~ de ~mycall~\n"
  384.  
  385. define text SHIFT_F04  " back to you ~name~... ~call~ de ~mycall~ pse k k k\n"
  386.  
  387. define text SHIFT_F05  ~@station.txt~
  388.  
  389. define text SHIFT_F06  " de ~mycall~\ntnx... 599 \+ 599 \# 599 \#\nbk bk "
  390.  
  391. define text SHIFT_F07  " ~call~"
  392.  
  393. define text SHIFT_F08  " ~mycall~"
  394.  
  395. define text SHIFT_F09  "ryryryryry"
  396.  
  397. define text SHIFT_F10  " pse k k k\n"
  398.  
  399.  
  400. #
  401. # Define other text elements
  402. #
  403.  
  404. define text banner    "\noooo   o      ooooo  o   o  ooooo   ooo"
  405.                       "\no   o  o      o       o o   o      o   o"
  406.                       "\no   o  o      oooo     o    ooo    o"
  407.                       "\no   o  o          o    o    o      o   o"
  408.                       "\noooo   ooooo  oooo     o    ooooo   ooo\n"
  409.  
  410. define text mycall    dl5yec
  411. define text myname    django
  412. define text myqth     paderborn
  413. define text mylocator jo41jr
  414.  
  415. # The text "mylocator" is also used by the QTH distance/direction calculator.
  416.  
  417.  
  418. #
  419. # The following text elements can be used to distinguish
  420. # received/transmitted text in a logfile.  They will be evaluated
  421. # and inserted at the beginning of every line of the logfile.  
  422. #
  423. # Examples:
  424. #   define text logrxlabel ""             # delete previously defined label
  425. #   define text logrxlabel "RX:"          # insert "RX:"
  426. #   define text logrxlabel "~call~ \z "   # insert call and time
  427. #
  428.  
  429. define text logrxlabel "\z ~timezone~ "
  430. define text logtxlabel "T "
  431.  
  432.  
  433. #
  434. # Some standard phrases
  435. #
  436.  
  437. define text std01     " tnx for answering my call."
  438. define text std02     " my name is ~myname~ ~myname~ ~myname~."
  439. define text std03     " my qth is ~myqth~ ~myqth~ ~myqth~"
  440. define text std04     " locator is ~mylocator~ ~mylocator~"
  441. define text std05     " your report is "
  442. define text std06     " how do you copy ?"
  443. define text std07     " tnx for the nice qso and hope to cuagn."
  444. define text std08     " 73 es 55 to you ~name~ and your family."
  445. define text std09     " the weather today is "
  446. define text std10     " the temperature is abt "
  447. define text std11     " and now i'll get me another beer. "
  448.  
  449.  
  450. #
  451. # Ignore rest of config file
  452. #
  453.  
  454. exit
  455.  
  456.  
  457. 73 es 55 de Django
  458.  
  459. packet radio: DL5YEC@DB0BQ.DEU.EU
  460.  
  461. e-mail: schroeder.pad@sni.de
  462.